/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package config.Models;

import config.ConfigMacros;
import java.util.Map;

/**
 *
 * @author LinhTA
 */
public class Conf_Mix_item {
    
    public String kind;
    public int level;
    public String entity;
    
    public Conf_Mix_item(Map<String,Object> obj)
    {
        kind    =   obj.get(ConfigMacros.MIXITEM_KIND).toString();
        entity  =   obj.get(ConfigMacros.MIXITEM_ENTITY).toString();
        level   =   Integer.parseInt(obj.get(ConfigMacros.MIXITEM_LEVEL).toString());
    }
}
